package com.cskaoyan.bean.admin.promotion;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Name : TopicController.java
 * @Time : 2021/8/12 19:36
 * @Author : creamycandy
 * @Software : IntelliJ IDEA
 */
@Data
@Component
@ConfigurationProperties(prefix = "prohibition")
@PropertySource(value = {"classpath:application-prohibition.properties"}, encoding = "utf-8")
public class Prohibition {
    List<String> words;
}
